import re
def extract_strings_from_file(file_path):
    strings = []
    with open(file_path, 'r', encoding='utf-8') as file:
        content = file.read()

        # 使用正则表达式匹配字符串
        pattern = r'"([^"\\]*(\\.[^"\\]*)*)"'
        matches = re.findall(pattern, content)

        for match in matches:
            # 解析转义序列
            raw_string = match[0]
            parsed_string = bytes(raw_string, 'utf-8').decode('unicode_escape')
            strings.append(parsed_string)

    return strings

file_path = 'source_code.py'
strings = extract_strings_from_file(file_path)
for string in strings:
    print(string)